package com.atguigu.web.pojo;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@JacksonXmlRootElement  //支持返回xml数据
public class User {
    private Integer id;
    private String name;
    private Integer age;
    private String address;
}
